package com.example.crawler.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * com.example.crawler.entity
 *
 * @author 白雨浓
 * date: 17-11-22 下午8:18
 * content:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MajorEntity {

    private int id;
    private String majorName;
    private String introduce;/*介绍 html*/
    private String prospect;/*前景 html*/
    private String artPtc;/*文科比例*/
    private String sciPtc;/*理科比例*/
    private String degree;/*学位*/
    private String stdYear;/*学制*/
    private String profession;/*职业 json数组*/

    public MajorEntity(String majorName, String introduce, String prospect, String artPtc, String sciPtc, String degree, String stdYear, String profession) {
        this.majorName = majorName;
        this.introduce = introduce;
        this.prospect = prospect;
        this.artPtc = artPtc;
        this.sciPtc = sciPtc;
        this.degree = degree;
        this.stdYear = stdYear;
        this.profession = profession;
    }
}
